package com.itheima.ioc;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.config.ConfigurableBeanFactory;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;


public class UserDaoImpl implements UserDao {
 

    public void say() {
        System.out.println("UserDao say hello world!");
    }

    private void init() {
        System.out.println("init方法");
    }

    private void destroy() {
        System.out.println("destroy方法");
    }
}
